import ajax from "@/utils/request";
import '../mock/userMock'

export function changePasswordFn(data) {
    return ajax({
        url: '/user/changePasswoed',
        method: 'post',
        data
    })
}

export function changeInfoFn(data) {
    return ajax({
        url: '/user/changeInfo',
        method: 'post',
        data
    })
}

export function addConcernFn(data) {
    return ajax({
        url: '/user/concern',
        method: 'post',
        data
    })
}